# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=biblatex
pkgver=3.20
pkgrel=2
pkgdesc="Sophisticated Bibliographies in LaTeX"
url="https://www.ctan.org/pkg/biblatex"
# s390x, riscv64 and loongarch64 blocked by texlive-luatex
arch="noarch !ppc64le !s390x !riscv64 !loongarch64"
license="LPPL-1.3"
depends="texlive-luatex"
makedepends="bash perl"
source="$pkgname-$pkgver.tar.gz::https://github.com/plk/biblatex/archive/v$pkgver.tar.gz"
replaces="texmf-dist-bibtexextra texmf-dist-bibtexextra-doc"

package() {
	mkdir -p "$pkgdir"/usr/share/texmf-dist
	obuild/build.sh install $pkgver "$pkgdir"/usr/share/texmf-dist/
}

sha512sums="
503a8016044c305e31c3737abd8e8135f9f22d382e8a81e6f59a17909d613533138a8b6624029062c644b2254af2e1b3f00763db67a5e5febb1891c04436b215  biblatex-3.20.tar.gz
"
